package jsyf.oa.facade.report.wechatRelay;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.List;

/**
 * Created by y on 2018/4/4.
 */
@Path("/WechatService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface WechatShareFacade {
    @Path("/getWechatTotal")
    public JSONObject getWechatTotal(JSONObject jsonObject);
    @Path("/getForPersonalByUserIdAndDateTime")
    public List<JSONObject> getForPersonalByUserIdAndDateTime(JSONObject jsonData);
    @Path("/getForDepartByUserIdAndDateTime")
    public List<JSONObject> getForDepartByUserIdAndDateTime(JSONObject jsonObject);
    @Path("/getForCompanyByUserIdAndDateTime")
    List<JSONObject> getForCompanyByUserIdAndDateTime(JSONObject jsonObject);
    @Path("/getWechatTotalforCompany")
    JSONObject getWechatTotalforCompany(JSONObject jsonObject);
    @Path("/getForDepartBydepartId")
    List<JSONObject> getForDepartBydepartId(JSONObject jsonObject);
    @Path("/getForGroupByUserIdAndDateTime")
    List<JSONObject> getForGroupByUserIdAndDateTime(JSONObject jsonObject);
    @Path("/getWechatTotalforGroup")
    JSONObject getWechatTotalforGroup(JSONObject jsonObject);
    @Path("/getForCompanyByCompanyId")
    List<JSONObject> getForCompanyByCompanyId(JSONObject jsonObject);
    @Path("/getWechatTotalforDepart")
    JSONObject getWechatTotalforDepart(JSONObject jsonObject);
    @Path("/getForDepartBycompanyId")
    List<JSONObject> getForDepartBycompanyId(JSONObject jsonObject);
    @Path("/getWechatTotalforDepartByCompanyId")
    JSONObject getWechatTotalforDepartByCompanyId(JSONObject jsonObject);
    @Path("/getWechatTotalforDepartByuserId")
    JSONObject getWechatTotalforDepartByuserId(JSONObject jsonObject);
    @Path("/getTodayWechatShare")
    List<JSONObject> getTodayWechatShare(JSONObject jsonObject);
    @Path("/getTodayWechatContact")
    List<JSONObject> getTodayWechatContact(JSONObject jsonObject);
    @Path("/regionRemind")
    Boolean regionRemind();
    @Path("/bigRegionRemind")
    Boolean bigRegionRemind();

}
